using System.ComponentModel.DataAnnotations;

namespace SupplierCustomerManagement.Read.API.Dtos.Lambing
{
    /// <summary>
    /// 胎次产羔结构 统计点
    /// </summary>
    public class ParityStatsPointDto
    {
        /// <summary>
        /// 胎次标签：0胎、1胎…5胎（5表示≥5）
        /// </summary>
        [Required]
        public string parityLabel { get; set; } = string.Empty;

        /// <summary>
        /// 平均产羔只数
        /// </summary>
        public decimal avgTotalLamb { get; set; }

        public decimal avgHealthy { get; set; }
        public decimal avgWeak { get; set; }
        public decimal avgDeformed { get; set; }
        public decimal avgStillbirth { get; set; }
        public decimal avgMummy { get; set; }
        public decimal avgAbnormal { get; set; }

        /// <summary>
        /// 分娩头数（当年该胎次的分娩记录数）
        /// </summary>
        public int deliveryCount { get; set; }

        /// <summary>
        /// 配种头数（暂无配种数据，暂置0，后续有表再对接）
        /// </summary>
        public int breedingCount { get; set; }
    }
}
